package com.example.food_contract_system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName order
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("order")
public class Order implements Serializable {
    /**
     * 订单id
     */
    private String oId;

    /**
     * 经销商id
     */
    @JsonProperty
    private String aId;

    /**
     * 食品id
     */
    @JsonProperty
    private Integer fId;

    /**
     * 订单创建时间
     */
    private String oTime;

    /**
     * 合同id
     */
    @JsonProperty
    private String cId;

    /**
     * 订单状态
     */
    private String oStatus;

    /**
     * 产品所需数量
     */
    private Integer oNum;

    private static final long serialVersionUID = 1L;
}

